#include <stdio.h>

int main(int argc, char const *argv[])
{
    char str[20] = {0};
    char *p = str;
    int i;
    char j;
    for (i = 0, j = 'a'; i < 10, j < 'j'; i++, j++)
    {
        //str[i] = j;
        *(p + i) = j;
    }
    printf("str=%s", str);
    return 0;
}
